package team526.service;

import org.springframework.web.multipart.MultipartFile;
import team526.entity.User;
import team526.entity.Video;

import java.io.IOException;

/**
 * #Date 2021/9/28 - 10:20
 *
 * @author 王铭 20181620310021
 */
public interface UserService {

    User sign(String email, String info, String username, String password, MultipartFile face_pic) throws IOException;

    Integer saveOrUpdateH(Integer uuid, Integer videoid,Integer watch_to);

    User changeInfo(String username, String password, String email, String info, MultipartFile face, User currentUser) throws IOException;
}
